﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WcfFlashRemoting.Example5.WcfClient
{
    class Program
    {
        static void Main(string[] args)
        {
            Example5Service.ICalculatorContract svc = new Example5Service.CalculatorContractClient("AmfBinding_ICalculatorContract");
            Console.WriteLine(svc.Add(new Example5Service.MathParameters(new Example5Service.AuthenticationHeader() { User = "other" }, 1.3, 2.6)).Result);
            Console.ReadKey();
        }
    }
}
